package com.wangyp.tower.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wangyp.tower.model.user.UserInfo;
import com.wangyp.tower.vo.user.LoginVo;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Author: Wangyp
 * @Date: 2021/4/24 8:55
 * @Description: *
 */
@Service
public interface UserInfoService  extends IService<UserInfo> {
    Map<String, Object>  loginUser( UserInfo user);

    Map<String, Object> loginbyname(String name, Integer password);

    /**
     * 获取用户信息
     * @param name
     * @return
     */
    Map<String, Object> getUserInfo(String name);
}
